package com.easy.auth.service;

 

import java.util.List;

import com.easy.auth.domain.Report;
import com.easy.auth.domain.UploadFile;
import com.easy.base.service.impl.ESession;
import com.easy.common.jdbc.PageInfo;
import com.easy.common.web.PagedList;

/**
 * Created with IntelliJ IDEA.
 * User: Van
 * Date: 13-12-14
 * Time: 下午2:16
 * To change this template use File | Settings | File Templates.
 */
public interface UploadService {
	
	PagedList<UploadFile> getAllUploadFilesLike(UploadFile uploadFile, PageInfo pageInfo);
	
	PagedList<UploadFile> getAllUploadFiles();

	PagedList<UploadFile> getUploadFilesByType(String fileType);
	
	PagedList<UploadFile> getUploadFilesByType(String fileType,String cartype);
	
	int saveUploadFile(UploadFile uploadFile);

	UploadFile findUploadFileById(UploadFile uploadFile);

	int removeUploadFiles(String[] oid);
	
	int saveOrEditUploadFile(UploadFile uploadFile);
	
	
	int saveAllUploadFile(List<UploadFile> UploadFile);

	PagedList<UploadFile> findUploadFileList(UploadFile UploadFile, PageInfo pageInfo);
	
	PagedList<UploadFile> findUploadFiles(UploadFile UploadFile,PageInfo pageInfo);
	
	UploadFile findUploadFileByOid(UploadFile UploadFile);
	
	
	int removeUploadFile(List<UploadFile> iconlist);
	
	List<UploadFile> findUploadFile();
 
    
    
    
    
}
